package com.liu.fresh.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.liu.fresh.biz.IOrderItemInfoBiz;

@Controller
@RequestMapping("/orderItemInfo")
public class OrderItemInfoController  {
	@Autowired
	private IOrderItemInfoBiz orderItemInfoBiz;


	
	@RequestMapping("/addOrderItemInfo")
	@ResponseBody
	public Integer addOrderItemInfo(String ono, int[] gnos, int[] nums,int[] prices) {			
		
			System.out.println("ono:"+ono);
			System.out.println("gnos:"+gnos);
			System.out.println("nums:"+nums);
			System.out.println("prices:"+prices);
	
		return orderItemInfoBiz.addOrderItemInfo(ono,gnos,nums,prices);
	}
	
	
}
